<template>
  <component :is="el(instance)"></component>
</template>

<script lang="ts" setup>
import { getCurrentInstance } from 'vue'
import type { ComponentInternalInstance } from 'vue'
defineProps<{
  el: (instance: ComponentInternalInstance | null) => Component
}>()

const instance = getCurrentInstance()
</script>

<style lang="scss"></style>
